//
// Created by root on 10/10/15.
//

#ifndef MYHTTPSERVER_UTHASH_HELP_H
#define MYHTTPSERVER_UTHASH_HELP_H



typedef struct _uthash{
    char *name;
    char *value;
    UT_hash_handle hh;
} uthash;

#define uthash_freenode(ptr)                      \
 do{                                              \
    free(ptr->name);                              \
    free(ptr->value);                             \
    free(ptr);                                    \
}while(0)                                         \

#endif //MYHTTPSERVER_UTHASH_HELP_H
